<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>TayCMS 免费企业建站系统 - 管理后台    </title>
    <base href="<?php echo base_url()?>"  />
    <style type="text/css">
        body {background-color: #016aa9;margin-top: 0px;margin-left: 0px;margin-right: 0px;margin-bottom: 0px}
        .STYLE1 {font-size: 12px;color: #00476f}
        .input {background:#fff;border:1px solid #2286AB;font-size:12px;font-family:Arial, Helvetica, sans-serif,"宋体";}
        body,td,th {font-size: 12px}
        -->
    </style>
    <script type="text/javascript" language="javascript">
        <!--
           window.onload = function (){
               var txtUserName = document.getElementById("username");
               var txtPassword = document.getElementById("password");
               changeimg();
               var username = readCookie("username");
               if(username!="")
               {
               txtUserName.value = username;
               txtPassword.focus();
               }
               else	txtUserName.focus();
               document.getElementById("verifycode").value = "";
           }
       function changeimg(){document.getElementById('SeedImg').src='<?php echo made_admin_url('vcode');?>?'+Math.random();}
function writeCookie(name, value, hours){
  var expire = "";
  if(hours != null)  {
    expire = new Date((new Date()).getTime() + hours * 3600000);
    expire = "; expires=" + expire.toGMTString();
  }
  document.cookie = name + "=" + escape(value) + expire;
 
}
function readCookie(name){
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0) { 
    offset = document.cookie.indexOf(search);
    if (offset != -1)  { 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    }
  }
  return cookieValue;
}
 
 
-->
    </script>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    <tr><td>
        <table width="984"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="3" height="40">&nbsp;</td></tr>
            <form action="<?php echo made_admin_url('login/checklogin')?>" method="post" id="loginform" onsubmit="return checkkk();" >
                <tr>
                    <td width="252" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="252" height="377" valign="bottom"><img src="static/images/admin/admin_11.jpg" width="252" height="240" /></td>
                        </tr>
                    </table></td>
                    <td width="487" height="292" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="static/images/admin/1_03.jpg">
                        <tr>
                            <td width="13" height="90">&nbsp;</td>
                            <td colspan="2" valign="bottom"><img src="static/images/admin/admin_07.jpg" width="462" height="71" /></td>
                        </tr>
                        <tr>
                            <td height="171">&nbsp;</td>
                            <td width="167" valign="top"><img src="static/images/admin/admin_09.jpg" width="167" height="171" /></td>
                            <td width="307"><table width="307" border="0" cellspacing="0" cellpadding="0" style="color:#FFF">

                                <?php if($this->session->flashdata('error')):?>
                                <tr>
                                    <td height="30" align="right" style="color:red">提示：</td>
                                    <td style="padding-left:6px;color:red"  ><?php echo $this->session->flashdata('error');?></td>
                                </tr>

                                <?php endif;?>
                                <tr>
                                    <td width="55" height="30" align="right">用户名：</td>
                                    <td width="252" style="padding-left:6px;"><input name="username" type="text" class="input" id="username"></td>
                                </tr>
                                <tr>
                                    <td height="30" align="right">密码：</td>
                                    <td style="padding-left:6px;"><input name="pwd" type="password" class="input" id="pwd"></td>
                                </tr>
                                <tr>
                                    <td height="30" align="right">验证码：</td>
                                    <td style="padding-left:6px;"><input name="verifycode" type="text" class="input" id="verifycode" size="5">
                                        <img src="<?php echo made_admin_url('vcode');?>" id="SeedImg" align="absmiddle" style="cursor:pointer;" border="0" alt="点我刷新" title="点我刷新" onClick="changeimg()" /></td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td><table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="140" valign="top" style="color:#fff;">&nbsp;</td>
                                            <td>
                                                <input type="image" name="imageField" id="imageField" src="static/images/admin/login.gif">
                                            </td></tr></table>
                                    </td>
                                </tr>
                            </table></td>
                        </tr>
                        <tr>
                            <td height="25" colspan="3" align="center" valign="middle" bgcolor="63a3c7">
                                <div align="center">
                                    <span class="STYLE1">Copygight <span style="font-family:Arial, Helvetica, sans-serif">&copy;</span> 2012 TAYCMS.COM All Rights Reserved.</span>
                                </div></td>
                        </tr>
                        <tr>
                            <td height="6"></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table></td>
                    <td width="245" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="245" height="292" valign="top"><img src="static/images/admin/admin_05.jpg" width="245" height="292" /></td>
                        </tr>
                    </table></td>
                </tr>
            </form>
            <tr>
                <td height="85" valign="top"><img src="static/images/admin/admin_13.jpg" width="487" height="85" /></td>
                <td valign="top"><img src="static/images/admin/admin_14.jpg" width="245" height="85" /></td>
            </tr>
        </table>
    </td></tr></table>
</body>
</html>

